package com.neusoft.ysu.elm99.entity;

import lombok.Data;

/**
 * 第2个，具体的实体类
 */
@Data
public class Dept {
    private Integer deptnum;//实体类里最好用Integer
    private String dname;
    private String loc;

    public Dept(int num, String name, String loc) {
        this.deptnum=num;
        this.dname=name;
        this.loc=loc;
    }

    public Dept() {
    }
}
